package com.gitee.minimalismstyle.fresh.common.core.config

import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Configuration

@Configuration
@ConfigurationProperties(prefix = "fresh")
class FreshProperties {
    var isDebug = false

    var snowflake = Snowflake()

    var tempdir = "classes:/temp"

    class Snowflake {

        val workerId: Long = 0

        val datacenterId: Long = 0
    }


}